﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>面板</title>
    <link rel="stylesheet" type="text/css" href="../../themes/bootstrap/cetc54.ui.all.css">

</head>
<body>
<div id="pal" class="ui_panel">
    <div class="ui_panel_header">
        <div class="ui_panel_icon"></div>
        <div class="ui_panel_title">标题</div>
        <div class="ui_panel_toolbar">
        </div>
    </div>
    <div class="ui_panel_content"></div>
    <div class="ui_panel_buttonbar">
        <button type="button" id="btn1"  ui-config="icons:{left:'icon_submit'},style:'button_submit'">确定</button>
        <button type="button" id="btn2"  ui-config="icons:{left:'icon_cancel'},style:'button_cancel'">取消</button>
    </div>
</div>
</body>
<script type="text/javascript" src="../../lib/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="../../release/cetc54.ui.all.js"></script>
<script>
    $(function () {
        $('#pal').uiPanel({
            autoFit:false,//自适应高度
            maximizable:true,
            resizable:true,//是否可以改变大小
            draggable:true,//是否可以拖动
            icon: 'list',
            title: '面板测试',
            width: 400,
            height: 400,
            iniframe: true,
            url: '_content.html',
            showBtnBar:true,//是否显示按钮条
            btnBarDir:'center'//按钮位置 left/center/right
        });
    })
</script>
</html>